//
//  OrderTapGameScene.h
//  CanYouDoIt
//
//  Created by hoangtx on 7/13/13.
//
//

#ifndef CanYouDoIt_OrderTapGameScene_h
#define CanYouDoIt_OrderTapGameScene_h

#include "CountDownGameScene.h"
using namespace cocos2d;
#include "MyDisabledTextButton.h"
class OrderTapGameScene : public CountDownGameScene{
public:
    
    CCArray* buttonArray;
    bool isLock;
    MyDisabledTextButton* currentAvailableButton;
    void onTapButton(CCObject* sender);
    static CCScene* scene(int numberOfSeconds);
    static OrderTapGameScene* create(int numberOfSeconds);
    void lock();
    void tickTimeLock(float dt);
    virtual void startGame();
    virtual void reset();
    virtual bool init();
    virtual void ccTouchesBegan(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesMoved(CCSet* touches, CCEvent* pEvent);
    virtual void ccTouchesEnded(CCSet* touches, CCEvent* pEvent);
    CREATE_FUNC(OrderTapGameScene);
};

#endif
